package com.jixi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jixi.common.result.Result;
import com.jixi.pojo.dto.CozeChatDto;
import com.jixi.pojo.entity.EducationCoze;
import com.jixi.pojo.vo.CozeChatMessageVo;

public interface EducationCozeService extends IService<EducationCoze> {
	
	/**
	 * 发起对话
	 *
	 * @param cozeChatDto 用户输入
	 * @return 对话信息
	 */
	Result<CozeChatMessageVo> startCozeChat(CozeChatDto cozeChatDto);
	
	/**
	 * 检查对话状态/获取对话信息
	 *
	 * @param conversationId 会话ID
	 * @param chatId         对话ID
	 * @return 对话信息
	 */
	Result<CozeChatMessageVo> getCozeChatMessage(String conversationId, String chatId);
}
